package com.fram.service.api.v1;

import com.fram.bean.api.circle.request.CircleAddRequest;
import com.fram.bean.api.circle.request.CircleOperateRequest;
import com.fram.bean.api.circle.request.CircleSeachRequest;
import com.fram.bean.api.circle.response.CircleSeachResponse;
import com.fram.bean.api.news.request.CommentSearchRequest;
import com.fram.bean.api.news.response.CommentSearchResponse;
import com.fram.bean.sys.PageBean;
import com.fram.common.exception.ProAffairException;
import com.fram.common.exception.ProException;
import com.fram.entity.NewsComment;
import com.fram.entity.ResourceCircle;
import com.github.pagehelper.PageInfo;

/** 生活圈展示 **/
public interface ResourceCircleService {

	/** 根据地区展示 生活圈的 信息 **/
	public PageInfo<CircleSeachResponse> list(PageBean<CircleSeachRequest> request) throws ProException;

	/** 增加生活圈 **/
	public void add(CircleAddRequest request) throws ProException;

	/** 删除 等于 修改 EmptyDelete 为1 **/
	public void update(ResourceCircle record) throws ProException;
	
	/** 动态圈操作 这是图片点赞 **/
	public String operateCircle(CircleOperateRequest request) throws ProAffairException;

	/** 评论列表 **/
	public PageInfo<CommentSearchResponse> selectCommentForApiList(PageBean<CommentSearchRequest> request) throws ProException;

	/** 发布评论 **/
	public NewsComment addComment(NewsComment request) throws ProAffairException;

}
